<template>
  <div class="basic-form">
    <div class="card-title full info-subtitle">基础信息</div>
    <el-form ref="form" label-position="right" class="form-wrap preview-form" :model="formData">
      <el-form-item label="姓名" prop="name">{{formData.name}}</el-form-item>
      <el-form-item label="性别" prop="gender">{{formData.gender | dict("gender") }}</el-form-item>
      <el-form-item label="证件类型" prop="cardType">{{formData.cardType | dict("card_type")}}</el-form-item>
      <el-form-item label="证件号码" prop="cardId">{{formData.cardId}}</el-form-item>
      <el-form-item label="电话号码" prop="telPhone">{{formData.telPhone}}</el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  props: {
    formData: {
      type: Object,
      default: ()=>{return {}},
    },
  },
};
</script>

<style lang="scss" scoped>
</style>